<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 对象扩展方法
    // Object.is 方法
    console.log(
      // 0 == false
      // 0 === false
      // +0 === -0
      // NaN === NaN
      // Object.is(+0,-0)
      Object.is(NaN,NaN)
    )
  </script>
</body>
</html>